Thursday, May 07, 2009

Java programming

posts before was about how much i dislike programming. but ever since that day i manage to compile and run the program done on my own, i felt super happy. it is suppose to print out:

Miles...........Kilometers
1 ..................1.609
2 .................(2 * 1.609)
3 .................(3 * 1.609)
4 .................(4 * 1.609)
5 .................(5 * 1.609)

but in the end i compiled and run, it came out only:

Miles...........Kilometers
5 ..................(5 * 1.609)

i think i just missed out 1 particular sentence to complete the whole thing. but i just don't know what is it. anyway, it is my first time finishing a program myself. and, i am very very happy!

come on TAN YI NI! you know you can. :)

No comments: